package eco2automotive.util;
/**
 * 
 * @author user
 */
public class UtilString {
    /**     
     * @param data
     * @return
     */
    public String ClearTotalData(String data){
        data=data.replaceAll("[\n\r]","");
        data=data.replaceAll(" ","");
        data=data.replaceAll("\\t","");        
        return data;
}
    /**     
     * @param data
     * @return
     */
    public String ClearData(String data){
        data=data.replaceAll("[\r]","");
        data=data.replaceAll(" ","");        
        data=data.replaceAll("\\t","");
        return data;
}

}
